import DoublyLinkedList from '../utils/data-structures/doublyLinkedList.js'
import { run } from '../utils/util.js'

const list = new DoublyLinkedList()

list.push(5)
list.push(2)
// run(list)

// run(list.size())

run(list.insert(10, 2), list)

run(list.removeAt(1))

run(list.indexOf(10))

run(list.getHead())
run(list.getTail())

run(list.toString())
run(list.inverseToString())
